﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="PreViewAward.aspx.cs" Inherits="LabMS.Web.LabManage.PreViewAward" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>预览获奖信息</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <script src="../js/Common.js" type="text/javascript"></script>
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->

    <script language="JavaScript" type="text/javascript">
    function refreshParent() 
    {   
        window.opener.location.href = window.opener.location.href;
    }
     function wincolse()
    {
        this.window.close();
    }
    function modify()
    {
        RedirectURL(window,'./AddAward.aspx?ID='+document.getElementById("IDHF").value);
    }
    </script>

</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label >预览奖励信息</label>
                </div>
            </div>
        </div>
        <asp:Label ID="ERRLbl" runat="server" Visible="false"></asp:Label>
        <div style="padding: 5px;" class="main">
            <p>
                <input id="modifybtn" type="button" runat="server" class="button" value="修改" onclick='modify()' />
                <input id="concel" type="button" runat="server" class="button" value="取消" onclick='wincolse()' />
                <asp:Button ID="DeleteBtn" runat="server" Text="删除" CssClass="button" OnClientClick="return confirm('确定删除吗？')"
                    OnClick="Delete_Click" />
            </p>
            <table cellpadding="4" cellspacing="0" border="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            实验室名称：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="LabNameDDL" ToolTip="获奖实验室" runat="server" DataTextField="Lab_Name"
                            DataValueField="ID" Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            奖励名称：</label>
                    </td>
                    <td>
                        <asp:Label ID="AwardNameLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            获奖级别：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="AwardLevelDDL" ToolTip="获奖级别" runat="server" DataTextField="Name"
                            DataValueField="Code" Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            获奖类型：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="AwardTypeDDL" ToolTip="获奖类型" runat="server" DataTextField="Name"
                            DataValueField="Code" Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            获奖者：</label>
                    </td>
                    <td>
                        <asp:Label ID="AwarderLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            获奖时间：</label>
                    </td>
                    <td>
                        <asp:Label ID="AwardDateLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            颁奖单位：</label>
                    </td>
                    <td>
                        <asp:Label ID="PresentationLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            奖励内容：</label>
                    </td>
                    <td>
                        <asp:Label ID="AwardContentLbl" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <asp:HiddenField ID="IDHF" runat="server" Value="" />
    </form>
</body>
</html>
